3.444 \(\int \log (c (d (e+f x)^p)^q) \, dx\)

Optimal. Leaf size=29 \[ \frac{(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

[Out]

-(p*q*x) + ((e + f*x)*Log[c*(d*(e + f*x)^p)^q])/f

________________________________________________________________________________________

Rubi [A]  time = 0.0230847, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {2389, 2295, 2445} \[ \frac{(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

Antiderivative was successfully verified.

[In]

Int[Log[c*(d*(e + f*x)^p)^q],x]

[Out]

-(p*q*x) + ((e + f*x)*Log[c*(d*(e + f*x)^p)^q])/f

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2445

Int[((a_.) + Log[(c_.)*((d_.)*((e_.) + (f_.)*(x_))^(m_.))^(n_)]*(b_.))^(p_.)*(u_.), x_Symbol] :> Subst[Int[u*(
a + b*Log[c*d^n*(e + f*x)^(m*n)])^p, x], c*d^n*(e + f*x)^(m*n), c*(d*(e + f*x)^m)^n] /; FreeQ[{a, b, c, d, e,
f, m, n, p}, x] &&  !IntegerQ[n] &&  !(EqQ[d, 1] && EqQ[m, 1]) && IntegralFreeQ[IntHide[u*(a + b*Log[c*d^n*(e
+ f*x)^(m*n)])^p, x]]

Rubi steps

\begin{align*} \int \log \left (c \left (d (e+f x)^p\right )^q\right ) \, dx &=\operatorname{Subst}\left (\int \log \left (c d^q (e+f x)^{p q}\right ) \, dx,c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=\operatorname{Subst}\left (\frac{\operatorname{Subst}\left (\int \log \left (c d^q x^{p q}\right ) \, dx,x,e+f x\right )}{f},c d^q (e+f x)^{p q},c \left (d (e+f x)^p\right )^q\right )\\ &=-p q x+\frac{(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}\\ \end{align*}

Mathematica [A]  time = 0.0097612, size = 29, normalized size = 1. \[ \frac{(e+f x) \log \left (c \left (d (e+f x)^p\right )^q\right )}{f}-p q x \]

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(d*(e + f*x)^p)^q],x]

[Out]

-(p*q*x) + ((e + f*x)*Log[c*(d*(e + f*x)^p)^q])/f

________________________________________________________________________________________

Maple [A]  time = 0.066, size = 36, normalized size = 1.2 \begin{align*} \ln \left ( c \left ( d \left ( fx+e \right ) ^{p} \right ) ^{q} \right ) x-pqx+{\frac{pqe\ln \left ( fx+e \right ) }{f}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*(d*(f*x+e)^p)^q),x)

[Out]

ln(c*(d*(f*x+e)^p)^q)*x-p*q*x+q*p/f*e*ln(f*x+e)

________________________________________________________________________________________

Maxima [A]  time = 1.12423, size = 54, normalized size = 1.86 \begin{align*} -f p q{\left (\frac{x}{f} - \frac{e \log \left (f x + e\right )}{f^{2}}\right )} + x \log \left (\left ({\left (f x + e\right )}^{p} d\right )^{q} c\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="maxima")

[Out]

-f*p*q*(x/f - e*log(f*x + e)/f^2) + x*log(((f*x + e)^p*d)^q*c)

________________________________________________________________________________________

Fricas [A]  time = 1.95057, size = 101, normalized size = 3.48 \begin{align*} -\frac{f p q x - f q x \log \left (d\right ) - f x \log \left (c\right ) -{\left (f p q x + e p q\right )} \log \left (f x + e\right )}{f} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="fricas")

[Out]

-(f*p*q*x - f*q*x*log(d) - f*x*log(c) - (f*p*q*x + e*p*q)*log(f*x + e))/f

________________________________________________________________________________________

Sympy [A]  time = 0.917149, size = 53, normalized size = 1.83 \begin{align*} \begin{cases} \frac{e p q \log{\left (e + f x \right )}}{f} + p q x \log{\left (e + f x \right )} - p q x + q x \log{\left (d \right )} + x \log{\left (c \right )} & \text{for}\: f \neq 0 \\x \log{\left (c \left (d e^{p}\right )^{q} \right )} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(d*(f*x+e)**p)**q),x)

[Out]

Piecewise((e*p*q*log(e + f*x)/f + p*q*x*log(e + f*x) - p*q*x + q*x*log(d) + x*log(c), Ne(f, 0)), (x*log(c*(d*e
**p)**q), True))

________________________________________________________________________________________

Giac [A]  time = 1.26604, size = 78, normalized size = 2.69 \begin{align*} \frac{{\left (f x + e\right )} p q \log \left (f x + e\right )}{f} - \frac{{\left (f x + e\right )} p q}{f} + \frac{{\left (f x + e\right )} q \log \left (d\right )}{f} + \frac{{\left (f x + e\right )} \log \left (c\right )}{f} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(d*(f*x+e)^p)^q),x, algorithm="giac")

[Out]

(f*x + e)*p*q*log(f*x + e)/f - (f*x + e)*p*q/f + (f*x + e)*q*log(d)/f + (f*x + e)*log(c)/f